// EvaluatingPane.cpp : implementation of the CEvaluatingPane class
//
#include "EvaluatingPane.h"


// Vypocita X a Y poziciu stredu policka
void CEvaluatingPane::CalculatePaneCenter()
{
	double lfDeltaX = GetRightPanePosition() - GetLeftPanePosition();
	double lfDeltaY = GetBottomPanePosition() - GetTopPanePosition();

	lfPaneCenterX = GetLeftPanePosition() + lfDeltaX/2;
	lfPaneCenterY = GetTopPanePosition() + lfDeltaY/2;

}
